feat(ogar-render-askama): W2/W3 fieldview — the addressed desktop surface#207
Merged
Merged
Conversation
…face
Add ogar-render-askama::field_view — the render half of the A2UI screen-
addressing charter (docs/A2UI-SCREEN-ADDRESSING-PROPOSAL.md, C1.2): a
WideFieldMask-projected ClassView instance renders as an ADDRESSED surface
rather than a rasterized bitmap.
- render_field_view(class_id, concept, key_hex, title, fields, actions) +
templates/dispatch/field_view.askama.
- Every field carries data-field-pos = its WideFieldMask position (its layout
address); every action carries data-action-ordinal = its ActionDef address
(trap T2 — no inline handler is representable). The node key addresses the
whole surface (data-key).
- from_value_rows / from_render_rows: direct ClassView-projection bridges
(lance_graph_contract::class_view::{ValueRow,RenderRow} -> FieldView).
- escape="html", no |safe hatch: the XSS class the list/detail kits fixed
under codex P1 (#83/#84) cannot arise on a fieldview.
5 new tests (addressed render incl. a wide position >= 64, XSS regression,
empty-action nav omit, both projection bridges); 61 crate tests green,
clippy clean. Consumed by the a2ui-rs W2 a2ui-server tier.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UZmHUePVbVXjHJWoBmABiZ
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_112b6fc4-2e32-448a-a4c6-11e49b5a5a90) |
AdaWorldAPI
pushed a commit
that referenced
this pull request
Jul 16, 2026
…ial verify pass Rewrites the doc-layer W4 spec against the as-built A2UI screen-addressing wave (#204-#207) and the a2ui-rs consumer (#3/#4/#9/#11), then applies a 17-finding adversarial verify pass (3 refuter lenses: citations, canon, layer boundaries). Substantive changes over v1: - W4-0 (new): wave-namespace rule — a2ui owns its own W0-W5 (its W4 = P-REHOST); this wave is written doc-W4 in all board/PR text. - Headline generalized per amendment A3: one ClassView x WideFieldMask template projection — re-issue as PDF (executor leg) or serve as a living addressed screen (a2ui session tier). - reconstruct_document stays produces=pdf_bytes, deliberately scoped to artifact legs; the living screen is session-tier project_node -> NodeDelta frames, never an ActionDef output. - C1.4 mask discipline inherited verbatim (RBAC by projection fail-closed on the re-issue path, retype-in-place, zero-extension, sentinel ban, permit-all identity consumed not re-decided). - Ordinal-stability wire invariant for the three ActionDefs (T2). - Four-leg renderer table with honest per-leg as-built status; DocRenderer trait = three impls (byte artifacts), a2ui = fourth family member at the session tier; deviation D-1 numbered (askama leg = compile-time callee, charter A5 runtime-bound annotation revised on stated factual basis). - A1 dep list restored to ratified A5 (ogar-vocab + ogar-doc-ir; codebook membrane returned to the consumer side of the BBB). - Page-register carving named (never-widen canon): number = one u8:u8 typed pair; native w/h out-of-line provenance. - Dependency ledger: value-slab render path, permit-all decision, HTML->PDF step — named so the council can't assume unbuilt legs whole. - P-TEMPLATE-MASK falsifier (new), split cross-repo over one shared fixture (dependency-direction honest). Mints NOTHING: 0x080A/0x080B stay operator-gated (D-OGAR-DOC-LAYER ledger; charter section D3) and land WITH the council-verified build. Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
ogar-render-askama::field_view— the render half of the A2UIscreen-addressing charter (
docs/A2UI-SCREEN-ADDRESSING-PROPOSAL.md, C1.2):a
WideFieldMask-projectedClassViewinstance renders as an addressedsurface rather than a rasterized bitmap. Don't push pixels — address the
screen.
Surface
render_field_view(class_id, concept, key_hex, title, fields, actions)+templates/dispatch/field_view.askama.data-field-pos= itsWideFieldMaskposition (itslayout address); every action carries
data-action-ordinal= itsActionDefaddress (trap T2 — no inline handler is representable). Thenode key addresses the whole surface (
data-key).from_value_rows/from_render_rows— direct ClassView-projection bridges(
lance_graph_contract::class_view::{ValueRow, RenderRow}→FieldView).escape="html", no|safehatch: the XSS class the list/detail kits hadto fix under codex P1 (feat(ogar-render-askama): T2 — HtmlListView (Redmine spine on ClassView substrate) #83/feat(ogar-render-askama): T3 — HtmlDetailView (Redmine show.html.erb on ClassView) #84) cannot arise on a fieldview.
Tests
5 new tests (addressed render incl. a wide position ≥ 64, XSS regression,
empty-action nav omit, both projection bridges). 61 crate tests green,
clippy clean.
Consumer
Consumed by the a2ui-rs W2
a2ui-servertier (RBAC-projectWideFieldMask ∩ role→NodeDeltadown + this fieldview render;ActionInvokeup by ordinal;ogar-encryptionsealed transport). Ledger:docs/DISCOVERY-MAP.mdD-A2UI-SCREEN-ADDRESSING(status appended in this PR).🤖 Generated with Claude Code
https://claude.ai/code/session_01UZmHUePVbVXjHJWoBmABiZ
Generated by Claude Code